package cn.kgc.crowdfundingadmin.service;


import cn.kgc.crowdfundingadmin.pojo.dvertisement;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdvertisementService {

    //分页查询
    PageInfo<dvertisement> getAllAdvertisement(Integer pageNum, Integer pageSize, String keyWord);
    //删除前的查询 根据id查询\
    List<dvertisement> getAll(List<Integer> advertisementIdList);
    //删除
    public void batchRemove(List<Integer> advertisementIdList);
    //增加
    public void saveAdvertisement(String name, String iconpath, Integer status, String url, Integer userid);
    //修改
    public void updateCert(dvertisement advertisement);
}